package cn.javadog.cloud.starter.limiter.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author yuy
 * @date 2020-11-06 16:28
 * 相关配置
 **/
@Data
@ConfigurationProperties(prefix = "starter.limiter")
public class LimiterProperties {

    /**
     * 是否开启
     */
    private boolean enabled = false;

    /**
     * 默认前缀
     */
    private String prefix = "starter:limiter:prefix";

}
